package com.xjtu.edu.domain;

@SuppressWarnings("serial")
public class SysTeacherId implements java.io.Serializable {
	private String college_id;
	private String s_id;
	private String teacher_id;
	
	public String getCollege_id() {
		return college_id;
	}

	public void setCollege_id(String college_id) {
		this.college_id = college_id;
	}

	public String getS_id() {
		return s_id;
	}

	public void setS_id(String s_id) {
		this.s_id = s_id;
	}

	public String getTeacher_id() {
		return teacher_id;
	}

	public void setTeacher_id(String teacher_id) {
		this.teacher_id = teacher_id;
	}


	@Override
	public int hashCode() {
		final int prime = 31;
		int result = 1;
		result = prime * result
				+ ((college_id == null) ? 0 : college_id.hashCode());
		result = prime* result
				+ ((s_id == null) ? 0 : s_id.hashCode());
		result = prime * result
				+ ((teacher_id == null) ? 0 : teacher_id.hashCode());
		return result;
	}

	@Override
	public boolean equals(Object obj) {
		if (this == obj)
			return true;
		if (obj == null)
			return false;
		if (getClass() != obj.getClass())
			return false;
		final SysTeacherId other = (SysTeacherId) obj;
		if (college_id == null) {
			if (other.college_id != null)
				return false;
		} else if (!college_id.equals(other.college_id))
			return false;
		if (s_id == null) {
			if (other.s_id != null)
				return false;
		} else if (!s_id.equals(other.s_id))
			return false;
		if (teacher_id == null) {
			if (other.teacher_id != null)
				return false;
		} else if (!teacher_id.equals(other.teacher_id))
			return false;
		return true;
	}

	
}
